package com.android.bandroid.model;

import java.io.Serializable;

/**
 * 返回结果基类
 * @author duanb
 */
public class BaseResp implements Serializable{

	private static final long serialVersionUID = 510995447822470104L;

	//错误状态编码
	protected String errorCode;

	//错误结果信息
	protected String errorMsg;

	//成功标识
	protected String successFlag;

	public String getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

	public String getErrorMsg() {
		return errorMsg;
	}

	public void setErrorMsg(String errorMsg) {
		this.errorMsg = errorMsg;
	}

	public String getSuccessFlag() {
		return successFlag;
	}

	public void setSuccessFlag(String successFlag) {
		this.successFlag = successFlag;
	}

	@Override
	public String toString() {
		return "BaseResp [errorCode=" + errorCode + ", errorMsg=" + errorMsg
				+ ", successFlag=" + successFlag + "]";
	}
	
}
